]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
audioDeviceSelection: Ensure close() is called with no arguments
authorFlorian Müllner <fmuellner@gnome.org>
Mon, 19 Apr 2021 14:01:19 +0000 (16:01 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Mon, 19 Apr 2021 17:12:59 +0000 (19:12 +0200)
This is the same as commit c5b18ee66a, but for the audio device selection
dialog.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4139

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1819>

js/ui/audioDeviceSelection.js

index abd8efaaed1134ca756300e764589fbb54ae0ca5..8660663f927331eda34c13394245badb7c744074 100644 (file)
@@ -57,7 +57,7 @@ var AudioDeviceSelectionDialog = GObject.registerClass({
             });
         }
         this.addButton({
-            action: this.close.bind(this),
+            action: () => this.close(),
             label: _('Cancel'),
             key: Clutter.KEY_Escape,
         });